package sqlop

import (
	"gorm.io/gorm"
	"likeadmin/clog"
	"likeadmin/dbc"
)

func QueryOneP(sql string, print bool, valueOne interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne)
	if print {
		clog.Print("sqlop,QueryOneP,sql=", sql)
		clog.Info("sqlop,QueryOneP,valueOne=", valueOne)
	}
	return db
}

func QueryTwoP(sql string, print bool, valueOne interface{}, valueTwo interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo)
	if print {
		clog.Print("sqlop,QueryTwoP,sql=", sql)
		clog.Info("sqlop,QueryTwoP,valueOne=", valueOne)
		clog.Info("sqlop,QueryTwoP,valueTwo=", valueTwo)
	}
	return db
}

func QueryThreeP(sql string, print bool, valueOne interface{}, valueTwo interface{}, valueThree interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree)
	if print {
		clog.Print("sqlop,QueryThreeP,sql=", sql)
		clog.Info("sqlop,QueryThreeP,valueOne=", valueOne)
		clog.Info("sqlop,QueryThreeP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryThreeP,valueThree=", valueThree)
	}
	return db
}

func QueryFourP(sql string, print bool, valueOne interface{}, valueTwo interface{}, valueThree interface{}, valueFour interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour)
	if print {
		clog.Print("sqlop,QueryFourP,sql=", sql)
		clog.Info("sqlop,QueryFourP,valueOne=", valueOne)
		clog.Info("sqlop,QueryFourP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryFourP,valueThree=", valueThree)
		clog.Info("sqlop,QueryFourP,valueFour=", valueFour)
	}
	return db
}

func QueryFiveP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive)
	if print {
		clog.Print("sqlop,QueryFiveP,sql=", sql)
		clog.Info("sqlop,QueryFiveP,valueOne=", valueOne)
		clog.Info("sqlop,QueryFiveP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryFiveP,valueThree=", valueThree)
		clog.Info("sqlop,QueryFiveP,valueFour=", valueFour)
		clog.Info("sqlop,QueryFiveP,valueFive=", valueFive)
	}
	return db
}

func QuerySixP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix)
	if print {
		clog.Print("sqlop,QuerySixP,sql=", sql)
		clog.Info("sqlop,QuerySixP,valueOne=", valueOne)
		clog.Info("sqlop,QuerySixP,valueTwo=", valueTwo)
		clog.Info("sqlop,QuerySixP,valueThree=", valueThree)
		clog.Info("sqlop,QuerySixP,valueFour=", valueFour)
		clog.Info("sqlop,QuerySixP,valueFive=", valueFive)
		clog.Info("sqlop,QuerySixP,valueSix=", valueSix)
	}
	return db
}

func QuerySevenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven)
	if print {
		clog.Print("sqlop,QuerySevenP,sql=", sql)
		clog.Info("sqlop,QuerySevenP,valueOne=", valueOne)
		clog.Info("sqlop,QuerySevenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QuerySevenP,valueThree=", valueThree)
		clog.Info("sqlop,QuerySevenP,valueFour=", valueFour)
		clog.Info("sqlop,QuerySevenP,valueFive=", valueFive)
		clog.Info("sqlop,QuerySevenP,valueSix=", valueSix)
		clog.Info("sqlop,QuerySevenP,valueSeven=", valueSeven)
	}
	return db
}

func QueryEightP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight)
	if print {
		clog.Print("sqlop,QueryEightP,sql=", sql)
		clog.Info("sqlop,QueryEightP,valueOne=", valueOne)
		clog.Info("sqlop,QueryEightP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryEightP,valueThree=", valueThree)
		clog.Info("sqlop,QueryEightP,valueFour=", valueFour)
		clog.Info("sqlop,QueryEightP,valueFive=", valueFive)
		clog.Info("sqlop,QueryEightP,valueSix=", valueSix)
		clog.Info("sqlop,QueryEightP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryEightP,valueEight=", valueEight)
	}
	return db
}

func QueryNineP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine)
	if print {
		clog.Print("sqlop,QueryNineP,sql=", sql)
		clog.Info("sqlop,QueryNineP,valueOne=", valueOne)
		clog.Info("sqlop,QueryNineP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryNineP,valueThree=", valueThree)
		clog.Info("sqlop,QueryNineP,valueFour=", valueFour)
		clog.Info("sqlop,QueryNineP,valueFive=", valueFive)
		clog.Info("sqlop,QueryNineP,valueSix=", valueSix)
		clog.Info("sqlop,QueryNineP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryNineP,valueEight=", valueEight)
		clog.Info("sqlop,QueryNineP,valueNine=", valueNine)
	}
	return db
}

func QueryTenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen)
	if print {
		clog.Print("sqlop,QueryTenP,sql=", sql)
		clog.Info("sqlop,QueryTenP,valueOne=", valueOne)
		clog.Info("sqlop,QueryTenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryTenP,valueThree=", valueThree)
		clog.Info("sqlop,QueryTenP,valueFour=", valueFour)
		clog.Info("sqlop,QueryTenP,valueFive=", valueFive)
		clog.Info("sqlop,QueryTenP,valueSix=", valueSix)
		clog.Info("sqlop,QueryTenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryTenP,valueEight=", valueEight)
		clog.Info("sqlop,QueryTenP,valueNine=", valueNine)
		clog.Info("sqlop,QueryTenP,valueTen=", valueTen)
	}
	return db
}

func QueryElevenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven)
	if print {
		clog.Print("sqlop,QueryElevenP,sql=", sql)
		clog.Info("sqlop,QueryElevenP,valueOne=", valueOne)
		clog.Info("sqlop,QueryElevenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryElevenP,valueThree=", valueThree)
		clog.Info("sqlop,QueryElevenP,valueFour=", valueFour)
		clog.Info("sqlop,QueryElevenP,valueFive=", valueFive)
		clog.Info("sqlop,QueryElevenP,valueSix=", valueSix)
		clog.Info("sqlop,QueryElevenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryElevenP,valueEight=", valueEight)
		clog.Info("sqlop,QueryElevenP,valueNine=", valueNine)
		clog.Info("sqlop,QueryElevenP,valueTen=", valueTen)
		clog.Info("sqlop,QueryElevenP,valueEleven=", valueEleven)
	}
	return db
}

func QueryTwelveP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve)
	if print {
		clog.Print("sqlop,QueryTwelveP,sql=", sql)
		clog.Info("sqlop,QueryTwelveP,valueOne=", valueOne)
		clog.Info("sqlop,QueryTwelveP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryTwelveP,valueThree=", valueThree)
		clog.Info("sqlop,QueryTwelveP,valueFour=", valueFour)
		clog.Info("sqlop,QueryTwelveP,valueFive=", valueFive)
		clog.Info("sqlop,QueryTwelveP,valueSix=", valueSix)
		clog.Info("sqlop,QueryTwelveP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryTwelveP,valueEight=", valueEight)
		clog.Info("sqlop,QueryTwelveP,valueNine=", valueNine)
		clog.Info("sqlop,QueryTwelveP,valueTen=", valueTen)
		clog.Info("sqlop,QueryTwelveP,valueEleven=", valueEleven)
		clog.Info("sqlop,QueryTwelveP,valueTwelve=", valueTwelve)
	}
	return db
}

func QueryThirteenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen)
	if print {
		clog.Print("sqlop,QueryThirteenP,sql=", sql)
		clog.Info("sqlop,QueryThirteenP,valueOne=", valueOne)
		clog.Info("sqlop,QueryThirteenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryThirteenP,valueThree=", valueThree)
		clog.Info("sqlop,QueryThirteenP,valueFour=", valueFour)
		clog.Info("sqlop,QueryThirteenP,valueFive=", valueFive)
		clog.Info("sqlop,QueryThirteenP,valueSix=", valueSix)
		clog.Info("sqlop,QueryThirteenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryThirteenP,valueEight=", valueEight)
		clog.Info("sqlop,QueryThirteenP,valueNine=", valueNine)
		clog.Info("sqlop,QueryThirteenP,valueTen=", valueTen)
		clog.Info("sqlop,QueryThirteenP,valueEleven=", valueEleven)
		clog.Info("sqlop,QueryThirteenP,valueTwelve=", valueTwelve)
		clog.Info("sqlop,QueryThirteenP,valueThirteen=", valueThirteen)
	}
	return db
}

func QueryFourteenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen)
	if print {
		clog.Print("sqlop,QueryFourteenP,sql=", sql)
		clog.Info("sqlop,QueryFourteenP,valueOne=", valueOne)
		clog.Info("sqlop,QueryFourteenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryFourteenP,valueThree=", valueThree)
		clog.Info("sqlop,QueryFourteenP,valueFour=", valueFour)
		clog.Info("sqlop,QueryFourteenP,valueFive=", valueFive)
		clog.Info("sqlop,QueryFourteenP,valueSix=", valueSix)
		clog.Info("sqlop,QueryFourteenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryFourteenP,valueEight=", valueEight)
		clog.Info("sqlop,QueryFourteenP,valueNine=", valueNine)
		clog.Info("sqlop,QueryFourteenP,valueTen=", valueTen)
		clog.Info("sqlop,QueryFourteenP,valueEleven=", valueEleven)
		clog.Info("sqlop,QueryFourteenP,valueTwelve=", valueTwelve)
		clog.Info("sqlop,QueryFourteenP,valueThirteen=", valueThirteen)
		clog.Info("sqlop,QueryFourteenP,valueFourteen=", valueFourteen)
	}
	return db
}

func QueryFifteenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen)
	if print {
		clog.Print("sqlop,QueryFifteenP,sql=", sql)
		clog.Info("sqlop,QueryFifteenP,valueOne=", valueOne)
		clog.Info("sqlop,QueryFifteenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryFifteenP,valueThree=", valueThree)
		clog.Info("sqlop,QueryFifteenP,valueFour=", valueFour)
		clog.Info("sqlop,QueryFifteenP,valueFive=", valueFive)
		clog.Info("sqlop,QueryFifteenP,valueSix=", valueSix)
		clog.Info("sqlop,QueryFifteenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryFifteenP,valueEight=", valueEight)
		clog.Info("sqlop,QueryFifteenP,valueNine=", valueNine)
		clog.Info("sqlop,QueryFifteenP,valueTen=", valueTen)
		clog.Info("sqlop,QueryFifteenP,valueEleven=", valueEleven)
		clog.Info("sqlop,QueryFifteenP,valueTwelve=", valueTwelve)
		clog.Info("sqlop,QueryFifteenP,valueThirteen=", valueThirteen)
		clog.Info("sqlop,QueryFifteenP,valueFourteen=", valueFourteen)
		clog.Info("sqlop,QueryFifteenP,valueFifteen=", valueFifteen)
	}
	return db
}

func QuerySixteenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen, valueSixteen interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen, valueSixteen)
	if print {
		clog.Print("sqlop,QuerySixteenP,sql=", sql)
		clog.Info("sqlop,QuerySixteenP,valueOne=", valueOne)
		clog.Info("sqlop,QuerySixteenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QuerySixteenP,valueThree=", valueThree)
		clog.Info("sqlop,QuerySixteenP,valueFour=", valueFour)
		clog.Info("sqlop,QuerySixteenP,valueFive=", valueFive)
		clog.Info("sqlop,QuerySixteenP,valueSix=", valueSix)
		clog.Info("sqlop,QuerySixteenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QuerySixteenP,valueEight=", valueEight)
		clog.Info("sqlop,QuerySixteenP,valueNine=", valueNine)
		clog.Info("sqlop,QuerySixteenP,valueTen=", valueTen)
		clog.Info("sqlop,QuerySixteenP,valueEleven=", valueEleven)
		clog.Info("sqlop,QuerySixteenP,valueTwelve=", valueTwelve)
		clog.Info("sqlop,QuerySixteenP,valueThirteen=", valueThirteen)
		clog.Info("sqlop,QuerySixteenP,valueFourteen=", valueFourteen)
		clog.Info("sqlop,QuerySixteenP,valueFifteen=", valueFifteen)
		clog.Info("sqlop,QuerySixteenP,valueSixteen=", valueSixteen)
	}
	return db
}

func QuerySeventeenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen, valueSixteen, valueSeventeen interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen, valueSixteen, valueSeventeen)
	if print {
		clog.Print("sqlop,QuerySeventeenP,sql=", sql)
		clog.Info("sqlop,QuerySeventeenP,valueOne=", valueOne)
		clog.Info("sqlop,QuerySeventeenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QuerySeventeenP,valueThree=", valueThree)
		clog.Info("sqlop,QuerySeventeenP,valueFour=", valueFour)
		clog.Info("sqlop,QuerySeventeenP,valueFive=", valueFive)
		clog.Info("sqlop,QuerySeventeenP,valueSix=", valueSix)
		clog.Info("sqlop,QuerySeventeenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QuerySeventeenP,valueEight=", valueEight)
		clog.Info("sqlop,QuerySeventeenP,valueNine=", valueNine)
		clog.Info("sqlop,QuerySeventeenP,valueTen=", valueTen)
		clog.Info("sqlop,QuerySeventeenP,valueEleven=", valueEleven)
		clog.Info("sqlop,QuerySeventeenP,valueTwelve=", valueTwelve)
		clog.Info("sqlop,QuerySeventeenP,valueThirteen=", valueThirteen)
		clog.Info("sqlop,QuerySeventeenP,valueFourteen=", valueFourteen)
		clog.Info("sqlop,QuerySeventeenP,valueFifteen=", valueFifteen)
		clog.Info("sqlop,QuerySeventeenP,valueSixteen=", valueSixteen)
		clog.Info("sqlop,QuerySeventeenP,valueSeventeen=", valueSeventeen)
	}
	return db
}

func QueryEighteenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen, valueSixteen, valueSeventeen, valueEighteen interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen, valueSixteen, valueSeventeen, valueEighteen)
	if print {
		clog.Print("sqlop,QueryEighteenP,sql=", sql)
		clog.Info("sqlop,QueryEighteenP,valueOne=", valueOne)
		clog.Info("sqlop,QueryEighteenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryEighteenP,valueThree=", valueThree)
		clog.Info("sqlop,QueryEighteenP,valueFour=", valueFour)
		clog.Info("sqlop,QueryEighteenP,valueFive=", valueFive)
		clog.Info("sqlop,QueryEighteenP,valueSix=", valueSix)
		clog.Info("sqlop,QueryEighteenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryEighteenP,valueEight=", valueEight)
		clog.Info("sqlop,QueryEighteenP,valueNine=", valueNine)
		clog.Info("sqlop,QueryEighteenP,valueTen=", valueTen)
		clog.Info("sqlop,QueryEighteenP,valueEleven=", valueEleven)
		clog.Info("sqlop,QueryEighteenP,valueTwelve=", valueTwelve)
		clog.Info("sqlop,QueryEighteenP,valueThirteen=", valueThirteen)
		clog.Info("sqlop,QueryEighteenP,valueFourteen=", valueFourteen)
		clog.Info("sqlop,QueryEighteenP,valueFifteen=", valueFifteen)
		clog.Info("sqlop,QueryEighteenP,valueSixteen=", valueSixteen)
		clog.Info("sqlop,QueryEighteenP,valueSeventeen=", valueSeventeen)
		clog.Info("sqlop,QueryEighteenP,valueEighteen=", valueEighteen)
	}
	return db
}

func QueryNineteenP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen, valueSixteen, valueSeventeen, valueEighteen, valueNineteen interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive, valueSix, valueSeven, valueEight, valueNine, valueTen, valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen, valueSixteen, valueSeventeen, valueEighteen, valueNineteen)
	if print {
		clog.Print("sqlop,QueryNineteenP,sql=", sql)
		clog.Info("sqlop,QueryNineteenP,valueOne=", valueOne)
		clog.Info("sqlop,QueryNineteenP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryNineteenP,valueThree=", valueThree)
		clog.Info("sqlop,QueryNineteenP,valueFour=", valueFour)
		clog.Info("sqlop,QueryNineteenP,valueFive=", valueFive)
		clog.Info("sqlop,QueryNineteenP,valueSix=", valueSix)
		clog.Info("sqlop,QueryNineteenP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryNineteenP,valueEight=", valueEight)
		clog.Info("sqlop,QueryNineteenP,valueNine=", valueNine)
		clog.Info("sqlop,QueryNineteenP,valueTen=", valueTen)
		clog.Info("sqlop,QueryNineteenP,valueEleven=", valueEleven)
		clog.Info("sqlop,QueryNineteenP,valueTwelve=", valueTwelve)
		clog.Info("sqlop,QueryNineteenP,valueThirteen=", valueThirteen)
		clog.Info("sqlop,QueryNineteenP,valueFourteen=", valueFourteen)
		clog.Info("sqlop,QueryNineteenP,valueFifteen=", valueFifteen)
		clog.Info("sqlop,QueryNineteenP,valueSixteen=", valueSixteen)
		clog.Info("sqlop,QueryNineteenP,valueSeventeen=", valueSeventeen)
		clog.Info("sqlop,QueryNineteenP,valueEighteen=", valueEighteen)
		clog.Info("sqlop,QueryNineteenP,valueNineteen=", valueNineteen)
	}
	return db
}

func QueryTwentyP(sql string, print bool, valueOne, valueTwo, valueThree, valueFour, valueFive,
	valueSix, valueSeven, valueEight, valueNine, valueTen,
	valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen,
	valueSixteen, valueSeventeen, valueEighteen, valueNineteen, valueTwenty interface{}) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql, valueOne, valueTwo, valueThree, valueFour, valueFive,
		valueSix, valueSeven, valueEight, valueNine, valueTen,
		valueEleven, valueTwelve, valueThirteen, valueFourteen, valueFifteen,
		valueSixteen, valueSeventeen, valueEighteen, valueNineteen, valueTwenty)
	if print {
		clog.Print("sqlop,QueryTwentyP,sql=", sql)
		clog.Info("sqlop,QueryTwentyP,valueOne=", valueOne)
		clog.Info("sqlop,QueryTwentyP,valueTwo=", valueTwo)
		clog.Info("sqlop,QueryTwentyP,valueThree=", valueThree)
		clog.Info("sqlop,QueryTwentyP,valueFour=", valueFour)
		clog.Info("sqlop,QueryTwentyP,valueFive=", valueFive)
		clog.Info("sqlop,QueryTwentyP,valueSix=", valueSix)
		clog.Info("sqlop,QueryTwentyP,valueSeven=", valueSeven)
		clog.Info("sqlop,QueryTwentyP,valueEight=", valueEight)
		clog.Info("sqlop,QueryTwentyP,valueNine=", valueNine)
		clog.Info("sqlop,QueryTwentyP,valueTen=", valueTen)
		clog.Info("sqlop,QueryTwentyP,valueEleven=", valueEleven)
		clog.Info("sqlop,QueryTwentyP,valueTwelve=", valueTwelve)
		clog.Info("sqlop,QueryTwentyP,valueThirteen=", valueThirteen)
		clog.Info("sqlop,QueryTwentyP,valueFourteen=", valueFourteen)
		clog.Info("sqlop,QueryTwentyP,valueFifteen=", valueFifteen)
		clog.Info("sqlop,QueryTwentyP,valueSixteen=", valueSixteen)
		clog.Info("sqlop,QueryTwentyP,valueSeventeen=", valueSeventeen)
		clog.Info("sqlop,QueryTwentyP,valueEighteen=", valueEighteen)
		clog.Info("sqlop,QueryTwentyP,valueNineteen=", valueNineteen)
		clog.Info("sqlop,QueryTwentyP,valueTwenty=", valueTwenty)
	}
	return db
}

func QueryNoP(sql string, print bool) (tx *gorm.DB) {
	var db = dbc.DB.Raw(sql)
	if print {
		clog.Print("sqlop,QueryNoP,sql=", sql)
	}
	return db
}
